package com.um.jdy.common.member.code;

import com.um.springboot.starter.utils.EnumUtil;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 用户模块返回码
 *
 * @author renjunwie
 * 日期 2022/7/26
 * 版权所有 广州优匠科技有限公司
 */
@Getter
@AllArgsConstructor
public enum UserCode implements EnumUtil.ErrorEnum {

    NoMoney(18101, "余额小于1元，请先充值!"),
    BalancePayFail(18102, "余额支付失败!"),
    NoPackage(18103, "套餐不存在!"),
    NoUser(18104, "用户不存在!"),
    NoBalance(18105, "余额不足!"),
    PayFailed(18106, "支付失败，请稍后重试!"),
    CreateCustomerFailed(18107, "支付失败，无法创建支付客户!"),
    CashoutFailed(18108, "提现失败!"),
    NoCard(18109, "虚拟卡不存在!"),
    AgentBound(18110, "该邮箱已绑定代理商!"),
    MerchantBound(18111, "该邮箱已绑定运营商!"),
    SalesmanBound(18112, "该邮箱已绑定业务员!"),
    EmailExist(18113, "该邮箱已存在!"),
    MobileExist(18114, "手机号码已存在!"),
    MobileFormatError(18115, "手机号码格式不正确!"),
    AddressNotExist(18116, "收货地址不存在!"),
    NoBalanceForOpen(18117, "余额不足，请先充值再开门!"),
    NoBalanceForCashout(18118, "没有可提现的余额!"),
    NoCashoutRechargeOrder(18119,"没有可以提现的充值订单！"),
    NoCashoutUnFinishOrder(18120,"有正在充电或未支付订单，不能提现！"),
    ;

    private Integer code;
    private String msg;



}
